package com.gek.gekapiinterface;


import com.gek.gekclientsdk.client.GekClient;
import com.gek.gekclientsdk.model.User;
import org.springframework.beans.factory.annotation.Value;

public class Main {

    @Value("${gek.client.accessKey}")
    private static String accessKey;

    @Value("${gek.client.secretKey}")
    private static String secretKey;
    public static void main(String[] args) {

        GekClient gekClient = new GekClient(accessKey, secretKey);
//        String gek1 = gekClient.getNameByGet("gek1");
//        String gek2 = gekClient.getNameByPost("gek2");
        String gek3 = gekClient.getNameByPost(new User("gek3"));
//        System.out.println(gek1);
//        System.out.println(gek2);
        System.out.println(gek3);

    }
}
